package com.lyj.mapper;

import com.lyj.pojo.Nurse;
import com.lyj.pojo.NurseSalary;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface SalaryMapper {

    List<NurseSalary> queryAllSalary();
    List<NurseSalary> querySalaryByName(String username);
    //修改护工薪资信息
    Boolean updateBySalaryId(NurseSalary nurseSalary);
    //删除护工薪资信息
    Boolean delBySalaryId(int salaryId);
    Boolean addSalaryByNurseId(NurseSalary nurseSalary);

}
